<? if (sizeof($path = dat('crumb'))) { 

?><div id="crumb"><? 
	$sep = '';
	array_shift($path); // split main page from the crumb

	foreach($path as $cr) {

		if ($cr['last']) {
			if ($cr['name']) {
			?><?=$sep?><span class="current"><?=t($cr['name'])?></span><?
			}
		} else {

			?><?=$sep?><a href="<?=$cr['path']?>" title="<?=t($cr['name'])?>"><?=t($cr['name'])?></a><?
			$sep='&nbsp;&rarr;&nbsp;';

		}
	}

?></div>

<? } ?>

